import service from '@/utils/request'

const AedApi = {
  // ---------------除颤仪----------------
  addAed: function (data) {
    return service.post('aed', data)
  },
  deleteAed: function (data) {
    return service.put('aed/delete', data)
  },
  editAed: function (data) {
    return service.put('aed', data)
  },
  listAed: function (data) {
    return service.get('aed/page', {params: data })
  },
  getAedInfo: function (data) {
    return service.get('aed', {params: data })
  },
  activeEquip:function(data){
    return service.get("aed/active",{params:data})
  },
  doorlinkList:function(data){
    return service.get("doorLock/listAll",{params:data})
  },
  doorlinkBList:function(data){
    return service.get("doorLock/listBinding",{params:data})
  }
}

export default AedApi